echo "Generate the Chinese & English messages"
django-admin.py makemessages -l zh_CN
django-admin.py makemessages -l en

echo "Compile the messages"
django-admin.py compilemessages

echo "Update the messages"
django-admin.py makemessages -a

echo "Compile the messages again"
django-admin.py compilemessages